#ifndef APPLICATIONS_MC907_H_
#define APPLICATIONS_MC907_H_

extern rt_device_t dev_nbiot;

/**
 * 发布mqtt消息，如果MQTT未连接将阻塞等到MQTT连接成功
 * @param msg 消息指针
 * @return 0代表成功否则失败
 */
int nbiot_mqtt_publish(uint8_t *msg);

#endif /* APPLICATIONS_MC907_H_ */
